﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AdminList.aspx.cs" Inherits="WebSite.admin.user.AdminList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>后台用户管理</title>
    <link href="../main.css" rel="stylesheet" type="text/css" />
	<script language="javascript">
	    parent.contentmain.innerHTML = "<span class='title01'>操作：</span>后台用户::管理员列表 "
    </script>

</head>
<body bgcolor="#F1F4F7">
    <form id="form1" runat="server">
    <div>
    
     <table width="98%" border="0" cellpadding="0" cellspacing="4" bgcolor="#FAFBFC" class="img">
    <tr>
      <td width="4%"><img height="22" alt="SEARCH" src="../images/icon_search.gif" width="26" border="0" /></td>
      <td width="16%">
          <asp:CheckBox ID="cbxIsSuper" runat="server" Text="超级管理员" />
        </td>
         <td align="left">
         <asp:DropDownList ID="ddlInstitution" runat="server"></asp:DropDownList>
         
         </td>
     
      <td width="18%" align="left">
          &nbsp;</td>
    <td>
        &nbsp;</td>
      <td width="8%" align="left">

            <asp:ImageButton ID="ibtnSearch" ImageUrl="../images/button04.gif" runat="server" />
      </td>
   
    </tr>
  </table>


            <asp:GridView ID="GridView1" runat="server" Width="98%" CellPadding="4" ForeColor="#333333" DataKeyNames="Adminid" AutoGenerateColumns="False" AllowPaging="True" pagesize="30"  BorderStyle="Solid" BorderWidth="1px" OnRowDataBound="GridView1_RowDataBound"
      ShowFooter="false" EmptyDataText="没有数据记录！！" AllowSorting="True" >
        <Columns>
                    <asp:HyperLinkField DataNavigateUrlFields="Adminid" DataNavigateUrlFormatString="AddAdmin.aspx?uid={0}" HeaderText="登录名称" DataTextField="AdminUser" />             
                <asp:BoundField DataField="AdminName" HeaderText="用户称呼" />
                <asp:BoundField DataField="LoginDegree" HeaderText="登录次数" />
                <asp:BoundField DataField="Logintime" HeaderText="最后登录时间" />
                <asp:BoundField DataField="LoginIP" HeaderText="最后登录IP" />

                 <asp:TemplateField ShowHeader="False" HeaderText="操作">
             <ItemTemplate>
              <a title="编辑" href="AddAdmin.aspx?uid=<%# Eval("Adminid") %>">编辑</a>
                 <a title="删除" href="AdminList.aspx?action=del&uid=<%# Eval("Adminid") %>" onclick="return confirm('确认要删除吗？')";>删除</a>
                  <a title="编辑" href="AdminRule.aspx?uid=<%# Eval("Adminid") %>">权限</a>
             </ItemTemplate>
        </asp:TemplateField>
        </Columns>
             <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />             
             <PagerStyle BackColor="White" ForeColor="#333333" HorizontalAlign="Center" Font-Bold="True" Font-Size=30px />
             <HeaderStyle BackColor="#E2E7EB" Font-Bold="True" ForeColor="Black" HorizontalAlign="Left" />
             <AlternatingRowStyle BackColor="White" />
             <PagerSettings Visible="False" />
    </asp:GridView>
    <table width="90%" border="0" cellspacing="0" cellpadding="0">
       <tr>
         <td height="25" align="right" bgcolor="#E9ECEF"><asp:Label ID="LblRecordCount" runat="server"></asp:Label>
            <asp:Label ID="LblCurrentIndex" runat="server"></asp:Label>
            <asp:Label ID="LblPageCount" runat="server"></asp:Label>
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:LinkButton ID="btnFirst" CommandArgument="first" OnClick="PagerButtonClick" runat="server">首 页</asp:LinkButton> 
            <asp:LinkButton ID="btnPrev" CommandArgument="prev" OnClick="PagerButtonClick" runat="server">上一页</asp:LinkButton> 
            <asp:LinkButton ID="btnNext" CommandArgument="next" OnClick="PagerButtonClick" runat="server">下一页</asp:LinkButton> 
            <asp:LinkButton ID="btnLast" CommandArgument="last" OnClick="PagerButtonClick" runat="server">尾 页</asp:LinkButton> 
             跳转到第<asp:DropDownList ID="ddlCurrentPage" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"> </asp:DropDownList>页&nbsp;
         </td>
       </tr>
    </table>




          
      
        </div>
    </form>
</body>
</html>
